
int cur_my_role =0;

typedef struct
{
    int other_slot_status;
	int my_role;
    int other_role;
    int net_status;
    int my_slot_num;
}JUDGE_TAB;

#define JUDGE_TAB_CNT 7
JUDGE_TAB gjudge_tab[JUDGE_TAB_CNT] = 
{

	{,  },
};

int judge_init(void)
{

}

int judge_get_cur_my_role(void)
{
	return cur_my_role;
}


int judge_sigal_handle(void)
{
    int slot_status = SLOT_NULL_EVENT;//READ_SLOT_STATUS;
    switch(slot_status)
    {
        case SLOT_NULL_EVENT: //卡槽上是空的
        {

            break;
        }
        case SLOT_ON_EVENT://原本就在卡槽上
        {

            break;
        }
        case SLOT_INSERT_EVENT: //卡槽插入了
        {

            break;
        }
        case SLOT_OUT_EVENT:  //卡槽拔出
        {
        
            break;
        }
        default:
        {
        
            break;
        }

    }
}



